package com.hk.huakangcompany.model.vo;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zhe
 * @Date: 2021/6/8 18:01
 * @Statement:  Layui数据表格分页页面渲染格式
 */
public class ResultVO<T> implements Serializable {

    private Integer status;
    private String message;
    private long total;
    private List<T> list;

    public int getStatus() {
        return 0;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public ResultVO(Integer status, String message, long total, List<T> list) {
        this.status = status;
        this.message = message;
        this.total = total;
        this.list = list;
    }

    public ResultVO() {

    }

    @Override
    public String toString() {
        return "ObjectVO{" +
                "status=" + status +
                ", message='" + message + '\'' +
                ", total=" + total +
                ", list=" + list +
                '}';
    }
}
